using System;
using System.Collections.Generic;

namespace Condimar.Entities
{
    public partial class Compra
    {
        public Compra()
        {
            this.DetalleCompras = new List<DetalleCompra>();
        }

        public int Id { get; set; }
        public Nullable<int> ProveedorId { get; set; }
        public Nullable<int> ProductoId { get; set; }
        public Nullable<System.DateTime> Fecha { get; set; }
        public string Total { get; set; }
        public virtual Proveedor Proveedor { get; set; }
        public virtual ICollection<DetalleCompra> DetalleCompras { get; set; }
    }
}
